
cmake_minimum_required(VERSION 3.20)

project(cloud-disk)

set(CMAKE_CXX_STANDARD 11)

include_directories(${PROJECT_SOURCE_DIR})
file(GLOB source ${PROJECT_SOURCE_DIR}/*.c)

link_libraries(l8w8jwt mbedcrypto mbedx509 pthread ssl crypto crypt mysqlclient)

set(home .)
set(EXECUTABLE_OUTPUT_PATH ${home})

add_executable(server ${source})
